﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ProyectoHCI
{
    public partial class PantallaDocente : usuario
    {
        protected NuevaPartidaGrupal nuevaPartidaGrupal;
        public PantallaDocente(Login L)
        {
            login = L;
            InitializeComponent();
            //login = L;
            nuevaPartidaGrupal=null;
        }

        private void groupBox1_Enter(object sender, EventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            nuevaPartidaGrupal = (new NuevaPartidaGrupal(this,login));
            nuevaPartidaGrupal.Visible = true;
            this.Visible = false;
        }

        private void button6_Click(object sender, EventArgs e)
        {//BOTON SALIR
            login.Visible = true;
            this.Dispose();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            (new AgregarPreguntas(this,login)).Visible = true;
        }

        private void button3_Click(object sender, EventArgs e)
        {
            (new PreguntasSugeridas(this,login)).Visible = true;
            this.Visible = false;
        }

        private void button4_Click(object sender, EventArgs e)
        {
            //(new Aviso(this, "Consultar a Virii!")).Visible = true;
            //this.Enabled = false;
            (new EstadisticasDocente(this)).Visible = true;
            this.Visible = false;
        }
    }
}
